<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui"> 

<h:head>	
<title>Universidade de Brasilia FGA</title>
</h:head>

<h:body>
    <p:panel id="panel1">
<center>
<p:graphicImage value="imagens/gama_header1.png"/>

<h1>#{msgs.campoCabecalho}</h1>  
<h3>#{msgs.campoApresentacao}</h3>
<h4>#{msgs.campoPagina5}</h4>

<f:view locale="#{localeController.currentLocale}" />
<h:form>

    <p:panel id="panel" style="margin-bottom:20px;">  
   
        <h:panelGrid columns="1"> 
            
            
            <h:panelGroup>
            <h:outputLabel for="Conhecimentoinformatica" value="#{msgs.campoConhecimentoinformatica}:" /> 
            <h:selectOneMenu value="#{alunoBean.aluno.conhecimentoinformatica}" label="conhecimentoinformatica" 
                id="Conhecimentoinformatica" styleClass="input-select" >  
                  
            <f:selectItem itemLabel=" -- " itemValue="" />  
                <f:selectItem itemLabel=" #{msgs.campoMuitoBom} " itemValue="Muito Bom" />  
                <f:selectItem itemLabel=" #{msgs.campoBom} " itemValue="Bom" /> 
                <f:selectItem itemLabel=" #{msgs.campoRazoavel} " itemValue="Razoavel" /> 
                <f:selectItem itemLabel=" #{msgs.campoPouco} " itemValue="Pouco" /> 
                <f:selectItem itemLabel=" #{msgs.campoNenhum} " itemValue="Nenhum" /> 
                       
            </h:selectOneMenu>   
            <p:message for="Conhecimentoinformatica" />
            </h:panelGroup>
            
             <h:panelGrid columns="2"> 
            <h:outputText value="#{msgs.campoComputadorInternet}: " />  
            <h:selectOneRadio value="#{alunoBean.aluno.computadorpossuiacessointernet}">  
            <f:selectItem itemLabel="#{msgs.campoSim}" itemValue="TRUE" />  
            <f:selectItem itemLabel="#{msgs.campoNao}" itemValue="FALSE" />  
           </h:selectOneRadio>  
            </h:panelGrid>
            
            <h:panelGroup>
            <h:outputLabel for="localdeacessointernet" value="#{msgs.campoComputadorLocalAcesso}:" /> 
            <h:selectOneMenu value="#{alunoBean.aluno.localdeacessointernet}" label="localdeacessointernet" 
                id="localdeacessointernet" styleClass="input-select" >  
                  
            <f:selectItem itemLabel=" -- " itemValue="" />  
                <f:selectItem itemLabel=" #{msgs.campoComputadorLocalAcessoOp1} " itemValue="Em casa" />  
                <f:selectItem itemLabel=" #{msgs.campoComputadorLocalAcessoOp2} " itemValue="Lan house" /> 
                <f:selectItem itemLabel=" #{msgs.campoComputadorLocalAcessoOp3} " itemValue="Trabalho" /> 
                <f:selectItem itemLabel=" #{msgs.campoComputadorLocalAcessoOp4} " itemValue="Casa de parentes ou amigos" /> 
                <f:selectItem itemLabel=" #{msgs.campoComputadorLocalAcessoOp5} " itemValue="Não acessa" /> 
                       
            </h:selectOneMenu>   
            <p:message for="localdeacessointernet" />
            </h:panelGroup>

            <h:panelGroup>
            <h:outputLabel for="qtdhorasdeestudo" value="#{msgs.campoHorasEstudo}:" />  
            <p:inputText id="qtdhorasdeestudo"   
                value="#{alunoBean.aluno.qtdhorasdeestudo}" required="true" label="qtdhorasdeestudo"/>  
            <p:message for="qtdhorasdeestudo" />  
        	</h:panelGroup> 
            
            <h:panelGrid columns="2"> 
            <h:outputText value="#{msgs.campoPraticaesporte}: " />  
            <h:selectOneRadio value="#{alunoBean.aluno.praticaesportes}">  
            <f:selectItem itemLabel="#{msgs.campoSim}" itemValue="TRUE" />  
            <f:selectItem itemLabel="#{msgs.campoNao}" itemValue="FALSE" />  
           </h:selectOneRadio>  
            </h:panelGrid>  
            
           <h:panelGroup>
            <h:outputLabel for="tipoesporte" value="#{msgs.campoTipoEsportePratica}:" /> 
            <h:selectOneMenu value="#{alunoBean.aluno.tipoesporte}" label="tipoesporte" 
                id="tipoesporte" styleClass="input-select" >  
                  
            <f:selectItem itemLabel="#{msgs.campoNenhum}  " itemValue="Nenhum" />  
                <f:selectItem itemLabel=" #{msgs.campoFutebol} " itemValue="Futebol" />  
                <f:selectItem itemLabel=" #{msgs.campoGinastica} " itemValue="Ginastica" /> 
                <f:selectItem itemLabel=" #{msgs.campoVolei} " itemValue="Volei" /> 
                <f:selectItem itemLabel=" #{msgs.campoMusculacao} " itemValue="Musculacao" /> 
                <f:selectItem itemLabel=" #{msgs.campoBale} " itemValue="Bale" /> 
                <f:selectItem itemLabel=" #{msgs.campoHipismo} " itemValue="Hipismo" />  
                <f:selectItem itemLabel=" #{msgs.campoDanca} " itemValue="Danca" /> 
                <f:selectItem itemLabel=" #{msgs.campoCiclismo} " itemValue="Ciclismo" /> 
                <f:selectItem itemLabel=" #{msgs.campoHandball} " itemValue="Handball" /> 
                <f:selectItem itemLabel=" #{msgs.campoNatacao} " itemValue="Natacao" />   
                <f:selectItem itemLabel=" #{msgs.campoLuta} " itemValue="Luta" /> 
                <f:selectItem itemLabel=" #{msgs.campoOutro} " itemValue="Outro" />  
            </h:selectOneMenu>   
            <p:message for="tipoesporte" />
            </h:panelGroup> 
            
            <h:panelGroup>
            <h:outputLabel for="descricaoesporte" value="#{msgs.campoDescricaoEsporte}:" />  
            <p:inputText id="descricaoesporte"   
                value="#{alunoBean.aluno.descricaoesporte}"  label="descricaoesporte"/>  
            <p:message for="descricaoesporte" />  
            </h:panelGroup>
           
         
             <h:panelGroup>
            <h:outputLabel for="cursopreferencial" value="#{msgs.campoCursopreferencial}:" /> 
            <h:selectOneMenu value="#{alunoBean.aluno.cursopreferencial}" label="cursopreferencial" 
                id="cursopreferencial" styleClass="input-select" >  
                  
            <f:selectItem itemLabel="  --  " itemValue="" />  
                <f:selectItem itemLabel=" #{msgs.campoAutomotiva} " itemValue="Automotiva" />  
                <f:selectItem itemLabel=" #{msgs.campoEletronica} " itemValue="Eletronica" /> 
                <f:selectItem itemLabel=" #{msgs.campoEnergia} " itemValue="Energia" /> 
                <f:selectItem itemLabel=" #{msgs.campoSoftware} " itemValue="Software" /> 
                
            </h:selectOneMenu>   
            <p:message for="cursopreferencial" />
            </h:panelGroup> 
                   
            
            <h:panelGroup>
            <h:outputLabel for="diaaplicacao" value="#{msgs.campoDiaAplicacao}:" /> 
            <p:calendar value="#{alunoBean.aluno.diaaplicacao}" showButtonPanel="true"/>
            </h:panelGroup>
            
            <h:panelGroup>
            <p:commandButton value="#{msgs.campoBotaoAnterior}"  ajax="false" action="tela4.xhtml" /> 
            <p:commandButton id="salvar" actionListener="#{alunoBean.salvar()}" update="panel,resultado" 
                             value="#{msgs.campoBotaoSalvar}" title="Salvar" process="@this,panel"/>
            </h:panelGroup>
            <ul>
     		<p:commandButton value="#{msgs.campoBotaoConcluir}" ajax="false" action="final.xhtml"/> 
            </ul>
           
     		
        </h:panelGrid>  	
    </p:panel> 
</h:form>
</center>
</p:panel>
</h:body>
</html>
